import request from '@/utils/request'
export function list(page,size){
	return request({
		url: '/serviceurl/list',
		method: 'post',
		params:{
			page: page,
			size: size
		}
	})
}

export function update(data){
	return request({
		url: '/serviceurl/update',
		method: 'post',
		data
	})
}

export function del(data){
	return request({
		url: '/serviceurl/delete',
		method: 'post',
		data
	})
}

export function search(formline,pageSize,currentPage){
	return request({
		url: '/serviceurl/search',
		method:'post',
		data:{
			condiction: formline,
			size: pageSize,
			page: currentPage
		}
	})
}